#include "InternalNode.h"


//InternalNode::InternalNode(void)
//{
//}

//InternalNode::InternalNode(int weight) //, int order
//{
//	this->weight = weight;
//	this->order = order;
//}

//InternalNode::~InternalNode(void)
//{
//}

void InternalNode::setLeft(Node* left)
{
	this->left = left;
	left->setParent(this);
}

Node* InternalNode::getLeft(){
	return left;	
} 

void InternalNode::setRight(Node* right){
	this->right = right;
	right->setParent(this);
}

Node* InternalNode::getRight(){
	return right;
}

bool InternalNode::isLeaf() {
	return false;
}
